package com.applet.mallappletbackstage.service;

import com.applet.mallappletbackstage.entity.ProjectExperience;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author X
 * @since 2020-08-17
 */
public interface ProjectExperienceService extends IService<ProjectExperience> {

    /***
     * 添加项目经验
     * @param openid
     * @param projectExperience
     * @return
     */
    int addProject(String openid, ProjectExperience projectExperience);

    /***
     * 查询数据库是否有该用户数据
     * @param openid
     * @return
     */
    List<ProjectExperience> getProject(String openid);

    /***
     * 删除项目经验
     * @param openid
     * @return
     */
    int deleteProject(String id);
}
